{% extends 'base.html.twig' %}

{% block body %}
    <div id="wrapper">
        <div id="container">
            <div id="welcome">
                <h1><span>Welcome to</span> Symfony {{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION') }}</h1>
            </div>

            <div id="status">
                <div>
                    Hi {{ name }},
                    I like
                    <ul>
                    {# 这是注释，不会出现在渲染之后的模板中 #}
                    {% for item in hobbies %}
                        <li>{{ item | capitalize }}</li>
                    {% endfor %}
                    </ul>
                    <p>Activate your account before {{ 'next Monday'|date('M j, Y') }}</p>

                    Your application is now ready. You can start working on it at:
                    <code>{{ base_dir }}</code>
                </div>
            </div>


            {{ include('/default/_copyright.html.twig') }}
        </div>
    </div>
{% endblock %}
